package com.geo.common.exception;

/**
 * AI模型异常类
 * 
 * @author GEO Team
 * @version 1.0
 */
public class AIModelException extends RuntimeException {
    
    private String errorCode;
    
    public AIModelException(String message) {
        super(message);
    }
    
    public AIModelException(String message, Throwable cause) {
        super(message, cause);
    }
    
    public AIModelException(String errorCode, String message) {
        super(message);
        this.errorCode = errorCode;
    }
    
    public AIModelException(String errorCode, String message, Throwable cause) {
        super(message, cause);
        this.errorCode = errorCode;
    }
    
    public String getErrorCode() {
        return errorCode;
    }
}